package com.asdf.demo.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 *public class TestService{ }
 * @author ASDFGH
 * @date 2021年1月11日 下午3:13:50
 */
@FeignClient(value = "nacos-provider")
public interface FeignService {

	@GetMapping(value = "/test/{message}")
	public String test(@PathVariable("message") String message);
	
	@GetMapping(value="/hello")
	public String hello();
}
